package logic

import (
	"context"

	"sz2/C/rpc/good"
	"sz2/C/rpc/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type SyncGoodsToEsLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewSyncGoodsToEsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncGoodsToEsLogic {
	return &SyncGoodsToEsLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *SyncGoodsToEsLogic) SyncGoodsToEs(in *good.SyncGoodsToEsRequest) (*good.SyncGoodsToEsResponse, error) {
	// todo: add your logic here and delete this line

	return &good.SyncGoodsToEsResponse{}, nil
}
